package com.yanyeori.webtest.service;

import com.yanyeori.framework.core.model.WebResponse;
import com.yanyeori.framework.datasource.mybatisplus.service.IService;
import com.yanyeori.webtest.entity.clear.BankEntity;

import java.util.List;

/**
 * @author chenkuan
 * @version v1.0
 * @desc
 * @date 20/8/7 007 14:10
 */
public interface BankService extends IService<BankEntity> {
	WebResponse<?> pageBank();

	List<BankEntity> listBank();

	WebResponse<BankEntity> getByBankId(String bankId);

	WebResponse<?> saveBank(BankEntity bank);

	WebResponse<?> saveBankBatch(List<BankEntity> bankList);

	WebResponse<?> updateBank(String isError);
}
